/*
 * @description: 
 * @Author: wzg
 * @Date: 2021-03-18 16:38:06
 * @LastEditTime: 2021-03-19 13:23:33
 */
/* 所有返回数据的状态描述 */
export default class ResultEnum {
  static SAVE_SUCCESS = {
    code: 0,
    msg: "数据保存成功"
  }
  static GET_SUCCESS = {
    code: 0,
    msg: "数据查询成功"
  }
  static UPDATE_SUCCESS = {
    code: 0,
    msg: "数据更新成功"
  }
  static DELETE_SUCCESS = {
    code: 0,
    msg: "数据删除成功"
  }
  static GET_TOKEN_SUCCESS = {
    code: 0,
    msg: "获取token成功"
  }
  static SAVE_ERROR = {
    code: 1001,
    msg: "数据保存失败"
  }
  static GET_ERROR = {
    code: 1002,
    msg: "数据查询失败"
  }
  static UPDATE_ERROR = {
    code: 1003,
    msg: "数据更新失败"
  }
  static DELETE_ERROR = {
    code: 1004,
    msg: "数据删除失败"
  }
  static GET_TOKEN_ERROR = {
    code: 1100,
    msg: "获取token失败"
  }
  static GET_TOKEN_ERROR = {
    code: 1101,
    msg: "获取token失败"
  }
  static PLEASE_LOGIN_AGAIN = {
    code: 1102,
    msg: "登录时间过长，请重新登录"
  }
  static NOT_LOGGED_IN = {
    code: 1103,
    msg: "您还没有登录，请登录"
  }
  static GET_REFRESH_TOKEN_Expired = {
    code: 1104,
    msg: "refreshToken过期"
  }
  static SERVER_IS_BUSY = {
    code: 1105,
    msg: "服务器繁忙，请稍后再试"
  }
}